package org.android.pasos.activities.firstview;

import org.android.pasos.MainActivity;
import org.android.pasos.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class ConsultActivity extends Activity {
	Intent intent = null;
	  /** Called when the activity is first created. */

  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.consultation);
      
      final Button button = (Button) findViewById(R.id.btComeBack);
      button.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				// TODO Auto-generated method stub
				intent = new Intent(ConsultActivity.this, MainActivity.class);
				startActivity(intent);	
			}
		});
  }

}
